<?php
/**
 * Created by PhpStorm.
 * User: zhu_hbo
 * Date: 16/10/9
 * Time: 下午1:37
 */

//namespace Foo\Bar\subnamespace;
//
//const FOO = 1;
//function foo() {}
//class foo
//{
//    static function staticmethod() {}
//}


namespace Foo\Bar\subnamespace;

const  FOO = 1;
function foo() {
    echo "Foo\Bar\subnamespace里的foo() 方法"."<p>";
}

class foo
{
    static function  staticMehtod() {
        echo "Foo\Bar\subnamespace里的foo类的静态方法"."<p>";
    }
}
?>